/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package dominio.clube;

import javax.persistence.Entity;
import javax.persistence.OneToOne;
import javax.persistence.Table;

/**
 *
 * @author devair
 */
@Entity
@Table(name = "plano")
public class PlanoTradicional extends Plano {

    @OneToOne
    private Cadeira cadeira;

    /**
     * @return the cadeira
     */
    public Cadeira getCadeira() {
        return cadeira;
    }

    /**
     * @param cadeira the cadeira to set
     */
    public void setCadeira(Cadeira cadeira) {
        this.cadeira = cadeira;
    }

}
